package com.bzchao

class Demo01Basic {
    def description = '描述信息'
    def bookname = '斗破苍穹'

    //默认返回最后一行的值
    def sale(price) {
        "this book is $price"
    }

    def sum(price1, price2) {
        "$price1+$price2 =${price1 + price2}"
    }
}
